/**   
* @Title: PoetryProcessor.java
* @Package org.xaoyaoyao.spider.processor
* @Description: TODO
* @author xaoyaoyao
* @date Jan 25, 2019 4:42:23 PM
* @version V1.0   
*/
package org.xaoyaoyao.spider.processor;

import org.springframework.stereotype.Service;
import org.xaoyaoyao.spider.dto.PoetryDtos;
import org.xaoyaoyao.spider.enums.ResultEnum;

import lombok.extern.slf4j.Slf4j;

/**
 * @ClassName: PoetryProcessor
 * @Description: TODO
 * @author xaoyaoyao
 * @date Jan 25, 2019 4:42:23 PM
 * 
 */
@Slf4j
@Service
public class PoetryProcessor extends AbstractProcessor<PoetryDtos> {

	@Override
	public ResultEnum handle(PoetryDtos result) {
		log.debug(">>>>>>>> 开始处理结果, result >> {}", result);
		if (null == result) {
			return ResultEnum.ERROR;
		}
		// TODO
		return ResultEnum.SUCCESS;
	}
}
